package com.frejoys.common.vo.common;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
public class AppVersionVo {

    @Schema(type = "Integer", name = "id", description = "id", required = true, defaultValue = "1")
    private Integer id;

    @Schema(type = "Float", name = "version", description = "版本号", required = true, defaultValue = "1.0")
    private Float version;

    @Schema(type = "String", name = "address", description = "下载地址", required = true, defaultValue = "https://xxx")
    private String address;

    @Schema(type = "Integer", name = "type", description = "类型：1.ios，2.android", required = true, defaultValue = "1")
    private Integer type;

    @Schema(type = "Integer", name = "upgradeType", description = "类别：0.正常升级，1.强制升级", required = true, defaultValue = "0")
    private Integer upgradeType;

    @Schema(type = "Integer", name = "upgradeTime", description = "升级开始时间", required = true, defaultValue = "1700914151")
    private Integer upgradeTime;

    @Schema(type = "Integer", name = "createTime", description = "创建时间", required = true, defaultValue = "1700914151")
    private Integer createTime;

}
